<template>
  <header>
    <img src="@/assets/img/logo.png">

    <div class='search' @click="$router.push('/search')">
      <i class='iconfont icon-fangdajing'></i>
      <span>搜您喜欢的...</span>
    </div>

    <i class='kefu iconfont icon-kefu'></i>
  </header>
</template>

<style lang="less" scoped>
header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: #b0352f;

  img {
    width: 90px;
    height: 40px;
  }

  .search {
    display: flex;
    align-items: center;
    width: 220px;
    height: 30px;
    background-color: #FFFFFF;
    border-radius: 15px;

    i {
      padding: 0 5px;
      color: #ccc;
    }

    span {
      font-size: 14px;
      color: #ccc;
    }
  }

  .kefu {
    font-size: 28px;
    color: #fff;
  }
}
</style>